<?php

class Zen_Translate_Adapter_Array extends Zend_Translate_Adapter_Array
{
	public function _($messageId, $locale = null)
    {
    	/*
    	$filter = new Zend_Filter_HtmlEntities(array('quotestyle' => ENT_QUOTES));
    	$messageId = $filter->filter($messageId);
    	$model = new Zen_List('locale_ru');
    	$model->findOrCreate(
    		"`original`='$messageId'", 
    		array(	
    			'original'=>$messageId,
    			'translate'=>"^$messageId"
    		)
    	);
    	*/
        return parent::_($messageId, $locale = null);
    }
}